package com.itheima.service;

import com.itheima.domain.Role;
import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;

import java.util.List;
import java.util.Map;

public interface RoleService {

    Map<String,Object> findById(Integer id);

    void add(Role role);

    PageResult findPage(QueryPageBean queryPageBean);

    void updatePermission(Integer id, Integer[] ids);
}
